package io.gitee.wminyu.day03.Homework;

public class Phone {
    private String brand;
    private String price;

    public Phone(){

    }
    public Phone(String brand,String price){
        this.brand = brand;
        this.price = price;
    }

    public void call(){
        System.out.println("正在使用价格为"+price+"元的品牌的手机打电话...");
    }
    public void sendMessage(){
        System.out.println("正在使用价格为"+price+"元的品牌的手机发短信...");
    }
    public void playGame(){
        System.out.println("正在使用价格为"+price+"元的品牌的手机品牌的手机玩游戏...");
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }
}
